# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test07
# Description:
# Author:       98745
# Date:         2019/3/9
#-------------------------------------------------------------------------------

l_name='pyz'#全局变量
g_name='hhh'
def hello():
    # print(g_name)
    g_name='asd'#局部变量
    print(g_name)
    print('-----------------')
    print(l_name)

if __name__=='__main__':
    hello()